<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class mLog extends CI_Model{

	public function __construct()
	{
		parent::__construct();
	}

	public function signup($form_data)
	{
		$this->db->insert('k_user',$form_data);
		if ($this->db->_error_message()){
			$msg=$this->db->_error_message();
			return $msg;
		}
		else{
			return 1;
		}
	}
	// public function checkRecup($login, $mail){
	// 	return $this->db->get_where('T_UTILISATEUR_UTI', array('UTI_LOGIN' => $login, 'UTI_MAIL' => $mail))->num_rows();
	// }
}